package com.groupbuying.store.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigInteger;
import java.util.List;
import java.util.Map;

import com.groupbuying.store.dao.StoreRecommendDao;
import com.groupbuying.store.domain.StoreRecommendDO;
import com.groupbuying.store.service.StoreRecommendService;



@Service
public class StoreRecommendServiceImpl implements StoreRecommendService {
	@Autowired
	private StoreRecommendDao storeRecommendDao;
	
	@Override
	public StoreRecommendDO get(BigInteger id){
		return storeRecommendDao.get(id);
	}
	
	@Override
	public List<StoreRecommendDO> list(Map<String, Object> map){
		return storeRecommendDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return storeRecommendDao.count(map);
	}
	
	@Override
	public int save(StoreRecommendDO storeRecommend){
		return storeRecommendDao.save(storeRecommend);
	}
	
	@Override
	public int update(StoreRecommendDO storeRecommend){
		return storeRecommendDao.update(storeRecommend);
	}
	
	@Override
	public int remove(BigInteger id){
		return storeRecommendDao.remove(id);
	}
	
	@Override
	public int batchRemove(BigInteger[] ids){
		return storeRecommendDao.batchRemove(ids);
	}
	
}
